<div id="myH1">
    简单有趣的内容
</div>
<script>
    document.getElementById("myH1").innerHTML = "Welcome to my Hompage";
</script>